Load theme settings from the right location
authorMatthias Clasen <mclasen@redhat.com>
Thu, 17 Mar 2016 04:57:45 +0000 (00:57 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 22 Mar 2016 02:19:19 +0000 (22:19 -0400)
commit7cb36aba404c699f83579e039d6e97525b261231
tree063ae999d6e2554cc265f8dca1d55db247393741
parent475d916eb92c0106d09525bcca938f05fd6a81b5
Load theme settings from the right location

When loading a per-theme settings.ini file, look for it in
the same directory where we found the gtk.css file for the
theme. Previously, we were always looking in
$prefix/share/themes/THEME/gtk-3.0/, even if the css was
loaded from somewhere else.

https://bugzilla.gnome.org/show_bug.cgi?id=641354
gtk/gtkcssprovider.c
gtk/gtkcssproviderprivate.h
gtk/gtksettings.c
gtk/inspector/visual.c